home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 3 / Amiga Tools 3.iso / grafik / raytracing / rayshade-4.0.6.3 / rayfiles / rsdefs / examples / soap.ray < prev    next >
Text File  |  1994-08-09  |  1KB  |  51 lines

  1. /************************************************************************
  2.  *
  3.  *      Soap.ray
  4.  *
  5.  *      This is an example file for the rsdefs package originally
  6.  *    created by Stuart Warmink and modified to use the rsdefs
  7.  *    package.
  8.  *
  9.  *      Please do not edit this file, or any of the other files in
  10.  *      this package!  Make additions to these in your own separate
  11.  *      file.  If you think you have something that should be added
  12.  *      permanently, please send it to Larry Coffin and/or David
  13.  *      DeBry (email addresses listed below).  If we include it in
  14.  *      the next release, we'll put your name in the contributor's
  15.  *      list.
  16.  *
  17.  *      Contributors (in alphabetical order):
  18.  *          Larry Coffin <lcoffin@clciris.chem.umr.edu>
  19.  *          David DeBry <ddebry@dsd.es.com>
  20.  *        Stuart Warmink <sw@groucho.att.com>
  21.  *
  22.  ** Good clean fun
  23.  **
  24.  ** S. Warmink, 12-92
  25.  ** sw@groucho.att.com
  26.  **
  27.  */
  28.  
  29. #include "defs.rh"
  30.  
  31. surface neutral
  32.     ambient 0.3 0.3 0.3
  33.     diffuse 0.3 0.3 0.3
  34.  
  35. /* use RSSaqua_polished for porcelain */
  36.  
  37. RSPsoap_dish(,RSSaqua_polished())
  38.  
  39. RSPsoapbar(,RSSsoap_light())
  40.     rotate    0 0 1    6
  41.     translate -0.7 -0.2 (0.5 + 1.25)
  42.  
  43. plane    neutral    0 0 -1.5001    0 0 1
  44.  
  45. RSF1x1screen(.5)
  46. light 1    extended 5    100 200 250
  47.  
  48. eyep    30 15 35
  49. lookp    0 0 1
  50. fov    18
  51.